<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            padding: 0;
            margin: 0;
        }
        a {
            text-decoration: none;
            color: #333;
        }
        body {
            background: #f5f5f5;
        }
        .box {
            width: 298px;
            height: 415px;
            margin: 100px auto;
            background-color: #ffffff;
        }
        .box img {
            /* 和父元素宽度相等 */
            width: 100%;
        }
        .box .review {
            font-size: 14px;
            height: 70px;
            /* 因为这个没有width属性，所有paddind不会撑开盒子的宽度 */
            padding: 0 28px;
            margin-top: 30px;
        }
        .box .appraise {
            font-size: 12px;
            color: #b0b0b0;
            padding: 0 28px;
            margin-top: 20px;
        }
        .box .info {
            font-size: 14px;
            margin: 0 28px;
            margin-top: 15px;
        }
        h4 {
           display:inline-block; 
           font-weight: 400;
        }
        span {
            color: #ff6700;
        }
        .info em {
            font-style: normal;
            color: #ebe4e0;
            margin-left: 15px;
            margin-right: 7px;
        }

    </style>
</head>
<body>
    <div class="box">
        <a href="#"><img src="images\img.jpg" alt=""></a>
        <p class="review">
            <a href="#">快递牛，整体不错蓝牙可以说秒连，红米给力</a>
        </p>
        <div class="appraise">
            来自于117384232的评价
        </div>
        <div class="info">
            <h4><a href="#">Redmi AirDots真无线蓝...</a></h4>
            <em>|</em>
            <span>99.9元</span></div>
    </div>
</body>
</html>